#!/usr/bin/python
# -*- encoding: utf-8 -*-
'''
@File    :   4.py
@Time    :   2020/03/15 18:43:08
@Author  :   Malygos_l 
@Version :   1.0
@Contact :   751756061@qq.com
@WebSite :   www.gitee.com/malygos_l
'''
# Start typing your code from here
# 判断用户输入的年份是否为闰年;

year = int(input("请输入年份："))
if year%400 == 0:
    print('是闰年')
elif year%100 == 0:
    print('不是闰年')
elif year%4 == 0:
    print('是闰年')
else:
    print('不是闰年')